#!/usr/bin/env bash
# yitong.bai@qq.com

function OnlineConfigurationSetupRole() {
  BackupPkgManagementConfiguration
  BackupPipConfiguration

  ConfigurePkgManagementConfiguration "CentOS-Base"  "${ONLINE_CENTOS_REPO_URL}"
  ConfigurePkgManagementConfiguration "CentOS-Extra" "${ONLINE_CENTOS_EXTRA_REPO_URL}"
  ConfigurePkgManagementConfiguration "CentOS-epel"  "${ONLINE_EPEL_REPO_URL}"
  ConfigurePkgManagementConfiguration "rh-docker"    "${ONLINE_DOCKER_RH_REPO_URL}"
  
  ConfigurePipConfiguration "${ONLINE_PIP_INDEX_URL}" "${ONLINE_PIP_TRUSTED_HOST}"
}

